import { createApp } from "vue";
import App from "./App.vue";
import router from "@/router";
import store from "@/store";
import "@/utils/permission";

import "@/assets/styles/common/index.less";
import "@/themes/default/index.less"; //css
import "flag-icons/css/flag-icons.min.css"; // flag css

import "virtual:svg-icons-register";
import globalComponents from "@/components/index"; // 全局组件

import directives from "@/directives"; // directives

const app = createApp(App);
app.use(router);
app.use(store);
app.use(globalComponents);
app.use(directives);
app.mount("#app");
